home *** CD-ROM | disk | FTP | other *** search
- .TH SIZEOF
- 6 "IRIT Version 6.0"
- .SH NAME
- SIZEOF
-
-
-
- NumericType SIZEOF( ListType List | PolyType Poly |
- CurveType Crv | StringType Str )
-
- Returns the length of a list if List, the number of polygons
- if Poly, the length of the control polygon if Crv, or the
- number of characters in string if Str.
- If, however, only one polygon is in Poly, it returns the number
- of vertices in that polygon.
-
- Example:
-
- len = SIZEOF( list( 1, 2, 3 ) );
- numPolys = SIZEOF( axes );
- numCtlpt = SIZEOF( circle( vector( 0, 0, 0 ), 1 ) );
-
- will assign the value of 3 to the variable len, set numPolys
- to the number of polylines in the axes object, and set numCtlPt to 9, the
- number of control points in a circle.
-